package pers.vic.system.model;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import pers.vic.base.annoation.AttachmentFlag;
import pers.vic.base.annoation.AttachmentFlag.AttachmenType;
import pers.vic.base.handle.convert.AttachmentMutliConver;
import pers.vic.base.handle.convert.AttachmentSingleConver;

public class TestEntity {

	@JsonSerialize(using=AttachmentSingleConver.class)
	@AttachmentFlag(AttachmenType.SIGN)
	private Integer icon;
	
	@JsonSerialize(using=AttachmentMutliConver.class)
	@AttachmentFlag(AttachmenType.SIGNS)
	private String images;
	
	@AttachmentFlag(AttachmenType.CONTENT)
	private String content;

	public Integer getIcon() {
		return icon;
	}

	public void setIcon(Integer icon) {
		this.icon = icon;
	}

	@JsonProperty("iconUrl")
	public String getImages() {
		return images;
	}

	public void setImages(String images) {
		this.images = images;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	

}
